package com.aspose.cells;

class zbkt extends zck {
   zbkt(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   void b() {
      com.aspose.cells.b.a.b.a.zf var1 = this.a.e();
      this.a.a(4);
      com.aspose.cells.b.a.b.zq var2 = new com.aspose.cells.b.a.b.zq(this.c, this.d, this.e.v().h(), this.e.v().i());
      com.aspose.cells.b.a.b.a.ze var3 = new com.aspose.cells.b.a.b.a.ze();
      var3.b(var2);
      com.aspose.cells.b.a.b.zc var4 = zbum.a(this.e.w(), var3);
      com.aspose.cells.b.a.b.zm var5 = zbum.a(this.e.x());
      this.a.a(var4, var2);
      this.a.a(var5, var2);
      Color var6 = this.e.w().b();
      this.a.a(var4, this.e.s() + this.e.v().h() * 0.3F + this.f, this.e.t() + this.e.v().i() * 0.3F + this.f, this.e.v().h() * 0.1F, this.e.v().i() * 0.1F);
      this.a.a(var5, this.e.s() + this.e.v().h() * 0.3F + this.f, this.e.t() + this.e.v().i() * 0.3F + this.f, this.e.v().h() * 0.1F, this.e.v().i() * 0.1F);
      this.a.a(var4, this.e.s() + this.e.v().h() * 0.6F + this.f, this.e.t() + this.e.v().i() * 0.3F + this.f, this.e.v().h() * 0.1F, this.e.v().i() * 0.1F);
      this.a.a(var5, this.e.s() + this.e.v().h() * 0.6F + this.f, this.e.t() + this.e.v().i() * 0.3F + this.f, this.e.v().h() * 0.1F, this.e.v().i() * 0.1F);
      float var7 = 2.0F * this.e.v().h() / 9.0F;
      float var8 = 7.0F * this.e.v().i() / 10.0F;
      float var9 = 5.0F * this.e.v().h() / 9.0F;
      float var10 = 1.0F * this.e.v().i() / 10.0F;
      float var11 = 0.0F;
      float var12 = 0.0F;
      float var13 = 0.0F;
      if (this.e.m != null) {
         if (this.e.m.a.size() > 0) {
            var11 = com.aspose.cells.b.a.ze.a(this.e.m.a.get(0)) / 10000.0F * var10;
         } else {
            var11 = 0.5F * var10;
         }
      } else {
         var11 = 0.5F * var10;
      }

      float var14 = Math.abs(var11);
      if (var14 != 0.0F) {
         var12 = (16.0F * var14 * var14 + var9 * var9) / 16.0F / var14;
         var13 = com.aspose.cells.b.a.ze.a((Object)(180.0D * Math.asin((double)(var9 / 2.0F / var12)) / 3.141592653589793D));
      }

      if (var11 < 0.0F) {
         this.a.a(var5, var7 + var9 / 2.0F - var12 + this.f + this.e.s(), var8 + var10 / 2.0F - var14 + this.f + this.e.t(), 2.0F * var12, 2.0F * var12, 270.0F - var13, 2.0F * var13);
      } else if (var11 > 0.0F) {
         this.a.a(var5, var7 + var9 / 2.0F - var12 + this.f + this.e.s(), var8 + var10 / 2.0F + var14 - 2.0F * var12 + this.f + this.e.t(), 2.0F * var12, 2.0F * var12, 90.0F - var13, 2.0F * var13);
      } else {
         this.a.b(var5, var7 + this.f, var8 + var10 / 2.0F + this.f + this.e.t(), var7 + var9 + this.f + this.e.s(), var8 + var10 / 2.0F + this.f + this.e.t());
      }

      super.a();
      this.a.a(var1);
   }
}
